Optimal. Leaf size=114 \[ \frac{(a+b x)^{m+1} (d e-c f) (c+d x)^{-m-2}}{d (m+2) (b c-a d)}-\frac{(a+b x)^{m+1} (c+d x)^{-m-1} (a d f (m+2)-b (c f (m+1)+d e))}{d (m+1) (m+2) (b c-a d)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0523963, antiderivative size = 112, normalized size of antiderivative = 0.98, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {79, 37} \[ \frac{(a+b x)^{m+1} (d e-c f) (c+d x)^{-m-2}}{d (m+2) (b c-a d)}+\frac{(a+b x)^{m+1} (c+d x)^{-m-1} (-a d f (m+2)+b c f (m+1)+b d e)}{d (m+1) (m+2) (b c-a d)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 79
Rule 37
Rubi steps
\begin{align*} \int (a+b x)^m (c+d x)^{-3-m} (e+f x) \, dx &=\frac{(d e-c f) (a+b x)^{1+m} (c+d x)^{-2-m}}{d (b c-a d) (2+m)}+\frac{(b d e+b c f (1+m)-a d f (2+m)) \int (a+b x)^m (c+d x)^{-2-m} \, dx}{d (b c-a d) (2+m)}\\ &=\frac{(d e-c f) (a+b x)^{1+m} (c+d x)^{-2-m}}{d (b c-a d) (2+m)}+\frac{(b d e+b c f (1+m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{-1-m}}{d (b c-a d)^2 (1+m) (2+m)}\\ \end{align*}
Mathematica [A] time = 0.0628513, size = 82, normalized size = 0.72 \[ \frac{(a+b x)^{m+1} (c+d x)^{-m-2} (b (c e (m+2)+c f (m+1) x+d e x)-a (c f+d e (m+1)+d f (m+2) x))}{(m+1) (m+2) (b c-a d)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 158, normalized size = 1.4 \begin{align*} -{\frac{ \left ( bx+a \right ) ^{1+m} \left ( dx+c \right ) ^{-2-m} \left ( adfmx-bcfmx+adem+2\,adfx-bcem-bcfx-bdex+acf+ade-2\,bce \right ) }{{a}^{2}{d}^{2}{m}^{2}-2\,abcd{m}^{2}+{b}^{2}{c}^{2}{m}^{2}+3\,{a}^{2}{d}^{2}m-6\,abcdm+3\,{b}^{2}{c}^{2}m+2\,{a}^{2}{d}^{2}-4\,abcd+2\,{b}^{2}{c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (f x + e\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.74312, size = 671, normalized size = 5.89 \begin{align*} -\frac{{\left (a^{2} c^{2} f -{\left (b^{2} d^{2} e +{\left (b^{2} c d - a b d^{2}\right )} f m +{\left (b^{2} c d - 2 \, a b d^{2}\right )} f\right )} x^{3} -{\left (a b c^{2} - a^{2} c d\right )} e m -{\left (3 \, b^{2} c d e +{\left (b^{2} c^{2} - 2 \, a b c d - 2 \, a^{2} d^{2}\right )} f +{\left ({\left (b^{2} c d - a b d^{2}\right )} e +{\left (b^{2} c^{2} - a^{2} d^{2}\right )} f\right )} m\right )} x^{2} -{\left (2 \, a b c^{2} - a^{2} c d\right )} e +{\left (3 \, a^{2} c d f -{\left (2 \, b^{2} c^{2} + 2 \, a b c d - a^{2} d^{2}\right )} e -{\left ({\left (b^{2} c^{2} - a^{2} d^{2}\right )} e +{\left (a b c^{2} - a^{2} c d\right )} f\right )} m\right )} x\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 3}}{2 \, b^{2} c^{2} - 4 \, a b c d + 2 \, a^{2} d^{2} +{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} m^{2} + 3 \,{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} m} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (f x + e\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]